package com.wdb.user.controller;

import com.wdb.common.util.DateUtil;
import com.wdb.domain.user.entity.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/test")
    public String getString(){

        User user = new User();

        user.setName("菜鸡");
        user.setAge(10);

        return "what fuck!!!" + DateUtil.getNow() + " " + user.toString();
    }

}
